Parse --port argument to migration.
authoremellor@leeni.uk.xensource.com <emellor@leeni.uk.xensource.com>
Fri, 10 Feb 2006 01:09:19 +0000 (02:09 +0100)
committeremellor@leeni.uk.xensource.com <emellor@leeni.uk.xensource.com>
Fri, 10 Feb 2006 01:09:19 +0000 (02:09 +0100)
Patch by Andres Lagar Cavilla <andreslc@cs.toronto.edu>.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
tools/python/xen/xm/migrate.py

index 691efad9a232b7166781eaec7eb36ab32e219129..46129e62a24aacc0bacbaa4a6bd1b2588cb93335 100644 (file)
@@ -38,7 +38,7 @@ gopts.opt('live', short='l',
           fn=set_true, default=0,
           use="Use live migration.")
 
-gopts.opt('port', short='p',
+gopts.opt('port', short='p', val='portnum',
           fn=set_int, default=0,
           use="Use specified port for migration.")